Skip to content

Add help dialog to Tracking Categories screen (v0.29.0-beta.1) #131

Open
mapgie wants to merge 2 commits into
mainfrom
claude/enum-ordering-colors-VsTKg
Open

Add help dialog to Tracking Categories screen (v0.29.0-beta.1) #131
mapgie wants to merge 2 commits into
mainfrom
claude/enum-ordering-colors-VsTKg

Conversation

@mapgie

@mapgie mapgie commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Tapping the info icon in the toolbar opens a scrollable dialog covering:
category types (Default, Slider, Numeric, Plus One), value ordering and
its effect on stats shading, drag-to-reorder, archive, and delete.

https://claude.ai/code/session_01KE4y5cJH6cn7fCVmBhPnbJ

claude added 2 commits June 3, 2026 17:57
…a.1)

Default-type categories (e.g. Flow, Symptoms, custom) now show values as
ordered shades of the category's own colour rather than cycling through
unrelated theme colours. The lowest-displayOrder value gets a light tint
(30% base, 70% surface); the highest gets the full category colour. Numeric
and multi-select categories are unaffected and continue cycling colours.

- ordinalShade() added to CategoryAppearance.kt (pure lerp, no DB touch)
- PieData and TrendsData gain colorToken + valueOrders fields (default empty,
  so DashboardViewModel and NumericDistributionChart fall back gracefully)
- Both StatsViewModel and ChartDataComputer populate these for DEFAULT type
- PieChart slices and TrendsChart progress bars resolve shade at render time

Known gap: shading assumes a consistent user convention for displayOrder
direction (low = least intense, high = most intense). User-created categories
may not follow this; documented in the PR description.

https://claude.ai/code/session_01KE4y5cJH6cn7fCVmBhPnbJ
Tapping the info icon in the toolbar opens a scrollable dialog covering:
category types (Default, Slider, Numeric, Plus One), value ordering and
its effect on stats shading, drag-to-reorder, archive, and delete.

https://claude.ai/code/session_01KE4y5cJH6cn7fCVmBhPnbJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants